package com.heima.common.constants;

public class ArticleConstants {
    public static final Short LOADTYPE_LOAD_MORE = 1;
    public static final Short LOADTYPE_LOAD_NEW = 2;
    public static final String DEFAULT_TAG = "__all__";

    //文章上下架
    public static final Integer ARTICLE_EDABLE = 1;
    public static final Integer ARTICLE_TAKEDOWN = 0;


    //es文章同步，消息队列topic
    public static final String ARTICLE_PUBLISH_TOPIC = "article_publish";


    public static final Integer HOT_ARTICLE_LIKE_WEIGHT = 3;
    public static final Integer HOT_ARTICLE_COMMENT_WEIGHT = 5;
    public static final Integer HOT_ARTICLE_COLLECTION_WEIGHT = 8;

    public static final String HOT_ARTICLE_FIRST_PAGE = "hot_article_first_page_";

    /**
     * 热点文章算分
     */
    public static final String HOT_ARTICLE_SCORE_TOPIC="hot.article.score.topic";

}